# -*- coding: utf-8 -*-
# @description: 
# @File  : client.py
# @Time  :2020-03-21 10:35:46
# @Author:selfeasy

from werkzeug.middleware.dispatcher import DispatcherMiddleware

def app1(env, start_response):
    start_response('200 OK', [('Content-Type', 'application/json')])
    return str(env)

def app2(env, start_response):
    start_response('200 OK', [('Content-Type', 'application/json')])
    return str(env)

app = DispatcherMiddleware(app1, {'/12': app2})